package com.sl.water.vo;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @description:
 * @author: duan
 * @time: 2025-06-13 11:47
 */

@Data
@Schema(description = "漫溢点预警")
@NoArgsConstructor
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
@Accessors(chain = true)
public class MydWarnVO {

    @Schema(description = "漫溢点数量")
    private Integer num;

    @Schema(description = "漫溢点列表", example = "[{name:’XX站点’,lon:1,lat:1}]")
    private List<StationVO> list;
}
